﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CoastalClimbing.Code;

namespace CoastalClimbing
{
    public partial class Gallery : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                this.BindInfo();   
        }

        private void BindInfo()
        {
            dtlGallery.DataSource = DAL.GalleryImageSelect();
            dtlGallery.DataBind();
        }
    }
}